<template>
	<div class="top">
		<a href="javascript:history.back()" class="back">‹返回</a>
		<h1>{{ top[0] }}</h1>
		<router-link :to="top[1]" class="save" tag="span">{{ top[2] }}</router-link>		
	</div>
</template>

<script>
export default {
   	data() {
      	return {
			
      	}
   	},
   	props : {
   		top : {
	   		type : Array,
	   		default : [
	   			'我的还款', '/','保存'
	   		]
   		}
   	}
}
</script>

<style lang="">
	header{height:0.44rem; width:100%; background:#3297fd; color: #fff; line-height:0.44rem; text-align: center;}
	header h1{font-size:0.16rem;}
</style>
